package com.eduhzy.ttw.commonsdk.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class ClassDetailsData implements Parcelable {
    private String id;
    private String bh;
    private String bjmc;
    private String jbny;
    private String ssnj;
    private String bzrgh;
    private String bzxh;
    private String ssxn;
    private String xxid;
    private String lsbj;
    private String njbm;
    private String njmc;
    private String stuCount;
    private String teaCount;
    private String baseNo;
    private String createName;
    private String bzrName;
    private boolean inClass;

    public boolean isInClass() {
        return inClass;
    }

    public void setInClass(boolean inClass) {
        this.inClass = inClass;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBh() {
        return bh;
    }

    public void setBh(String bh) {
        this.bh = bh;
    }

    public String getBjmc() {
        return bjmc;
    }

    public void setBjmc(String bjmc) {
        this.bjmc = bjmc;
    }

    public String getJbny() {
        return jbny;
    }

    public void setJbny(String jbny) {
        this.jbny = jbny;
    }

    public String getSsnj() {
        return ssnj;
    }

    public void setSsnj(String ssnj) {
        this.ssnj = ssnj;
    }

    public String getBzrgh() {
        return bzrgh;
    }

    public void setBzrgh(String bzrgh) {
        this.bzrgh = bzrgh;
    }

    public String getBzxh() {
        return bzxh;
    }

    public void setBzxh(String bzxh) {
        this.bzxh = bzxh;
    }

    public String getSsxn() {
        return ssxn;
    }

    public void setSsxn(String ssxn) {
        this.ssxn = ssxn;
    }

    public String getXxid() {
        return xxid;
    }

    public void setXxid(String xxid) {
        this.xxid = xxid;
    }

    public String getLsbj() {
        return lsbj;
    }

    public void setLsbj(String lsbj) {
        this.lsbj = lsbj;
    }

    public String getNjbm() {
        return njbm;
    }

    public void setNjbm(String njbm) {
        this.njbm = njbm;
    }

    public String getNjmc() {
        return njmc;
    }

    public void setNjmc(String njmc) {
        this.njmc = njmc;
    }

    public String getStuCount() {
        return stuCount;
    }

    public void setStuCount(String stuCount) {
        this.stuCount = stuCount;
    }

    public String getTeaCount() {
        return teaCount;
    }

    public void setTeaCount(String teaCount) {
        this.teaCount = teaCount;
    }

    public String getBaseNo() {
        return baseNo;
    }

    public void setBaseNo(String baseNo) {
        this.baseNo = baseNo;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getBzrName() {
        return bzrName;
    }

    public void setBzrName(String bzrName) {
        this.bzrName = bzrName;
    }

    public ClassDetailsData() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.bh);
        dest.writeString(this.bjmc);
        dest.writeString(this.jbny);
        dest.writeString(this.ssnj);
        dest.writeString(this.bzrgh);
        dest.writeString(this.bzxh);
        dest.writeString(this.ssxn);
        dest.writeString(this.xxid);
        dest.writeString(this.lsbj);
        dest.writeString(this.njbm);
        dest.writeString(this.njmc);
        dest.writeString(this.stuCount);
        dest.writeString(this.teaCount);
        dest.writeString(this.baseNo);
        dest.writeString(this.createName);
        dest.writeString(this.bzrName);
        dest.writeByte(this.inClass ? (byte) 1 : (byte) 0);
    }

    protected ClassDetailsData(Parcel in) {
        this.id = in.readString();
        this.bh = in.readString();
        this.bjmc = in.readString();
        this.jbny = in.readString();
        this.ssnj = in.readString();
        this.bzrgh = in.readString();
        this.bzxh = in.readString();
        this.ssxn = in.readString();
        this.xxid = in.readString();
        this.lsbj = in.readString();
        this.njbm = in.readString();
        this.njmc = in.readString();
        this.stuCount = in.readString();
        this.teaCount = in.readString();
        this.baseNo = in.readString();
        this.createName = in.readString();
        this.bzrName = in.readString();
        this.inClass = in.readByte() != 0;
    }

    public static final Creator<ClassDetailsData> CREATOR = new Creator<ClassDetailsData>() {
        @Override
        public ClassDetailsData createFromParcel(Parcel source) {
            return new ClassDetailsData(source);
        }

        @Override
        public ClassDetailsData[] newArray(int size) {
            return new ClassDetailsData[size];
        }
    };
}
